<div id="header">
  <div id="header_content">
    <div align="left" id="logo" style="width:351px; height:131px"><img src="<?php echo JS_PATH;?>/tpt/images/logo.jpg" width="347" height="131" /></div>
    <div id="flash"  style="width:469px; height:115px">
      <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','469','height','115','src','<?php echo JS_PATH;?>/tpt/images/banner_top','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','<?php echo JS_PATH;?>/tpt/images/banner_top' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="469" height="115">
        <param name="movie" value="<?php echo JS_PATH;?>/tpt/images/banner_top.swf" />
        <param name="quality" value="high" />
        <embed src="<?php echo JS_PATH;?>/tpt/images/banner_top.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="469" height="115"></embed>
      </object>
    </noscript></div>
  </div>
  </div>
  
<div id="menu_back">

   <div id="menu">
                                 <?php
                        $menu = $this->menu;

                        if (count($menu) > 0) {
                        ?>
                            <ul id="nav">
                        <?php
                            $allCategory = $this->allCategory;
                            $i = 0;
                            foreach($menu as $menuItem):
                            $selected = "";
                            if($i++ == 0) {
                                $selected = "first ";
                            }
                            if (in_array($menuItem->category_id, $this->categoryPath)) {
                                $selected .= "on";
                            }
                        ?>
                            <!--li class="<?php echo $selected;?>"><span><a href="<?php echo BASE_URL;?>/?pid=<?php echo $menuItem->category_id;?>&all=1"><?php echo $menuItem->admin_title?></a></span></li-->
                            <li class="<?php echo $selected;?>"><a href="<?php echo BASE_URL;?>/?pid=<?php echo $menuItem->category_id;?>"><?php echo $menuItem->admin_title?></a></li>
                        <?php
                            endforeach;
                        ?>
                            </ul>
                        <?php
                        } // if count menu
                        ?>
		</div>
 
</div>